<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Icarous: /home/research133/Software/Icarous2/cFS/apps/logger/fsw/src/logger.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Icarous
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_c1698e121239b1aba7f6e782e4514e49.html">cFS</a></li><li class="navelem"><a class="el" href="dir_7ee4ce95da95d11e80a01c5101ed8d14.html">apps</a></li><li class="navelem"><a class="el" href="dir_52754df823868bbb4c3cca44cf22a590.html">logger</a></li><li class="navelem"><a class="el" href="dir_ca59f340bd116453d69a7d97e8b72878.html">fsw</a></li><li class="navelem"><a class="el" href="dir_5619f4fff33501a53867cfbac6daf1a3.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">logger.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>function declarations, definitions of macros, datastructures and global variables for the logging application  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;cfe.h&quot;</code><br />
<code>#include &quot;cfe_error.h&quot;</code><br />
<code>#include &quot;cfe_evs.h&quot;</code><br />
<code>#include &quot;cfe_sb.h&quot;</code><br />
<code>#include &quot;cfe_es.h&quot;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;errno.h&gt;</code><br />
<code>#include &lt;unistd.h&gt;</code><br />
<code>#include &quot;<a class="el" href="ardupilot__msg_8h_source.html">msgdef/ardupilot_msg.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ardupilot__msgids_8h_source.html">msgids/ardupilot_msgids.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="logger__table_8h_source.html">logger_table.h</a>&quot;</code><br />
<code>#include &lt;stdio.h&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for logger.h:</div>
<div class="dyncontent">
<div class="center"><img src="logger_8h__incl.png" border="0" usemap="#_2home_2research133_2Software_2Icarous2_2cFS_2apps_2logger_2fsw_2src_2logger_8h" alt=""/></div>
<map name="_2home_2research133_2Software_2Icarous2_2cFS_2apps_2logger_2fsw_2src_2logger_8h" id="_2home_2research133_2Software_2Icarous2_2cFS_2apps_2logger_2fsw_2src_2logger_8h">
<area shape="rect" id="node10" href="ardupilot__msg_8h.html" title="Ardupilot message definitions. " alt="" coords="115,109,277,136"/>
<area shape="rect" id="node13" href="ardupilot__msgids_8h.html" title="Message ID definition of ardupilot app messages. " alt="" coords="1010,109,1187,136"/>
<area shape="rect" id="node14" href="logger__table_8h.html" title="Logger app table definition. " alt="" coords="301,109,403,136"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="logger_8h__dep__incl.png" border="0" usemap="#_2home_2research133_2Software_2Icarous2_2cFS_2apps_2logger_2fsw_2src_2logger_8hdep" alt=""/></div>
<map name="_2home_2research133_2Software_2Icarous2_2cFS_2apps_2logger_2fsw_2src_2logger_8hdep" id="_2home_2research133_2Software_2Icarous2_2cFS_2apps_2logger_2fsw_2src_2logger_8hdep">
<area shape="rect" id="node2" href="logger_8c.html" title="function definitions for logger app " alt="" coords="5,109,195,165"/>
</map>
</div>
</div>
<p><a href="logger_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structappdataLog__t.html">appdataLog_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:aace8706f42997494f3807da948de2f4f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aace8706f42997494f3807da948de2f4f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>LOG_PIPE_APDATA_NAME</b>&#160;&#160;&#160;&quot;LOG_APDATA&quot;</td></tr>
<tr class="separator:aace8706f42997494f3807da948de2f4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4c8bee829de8a2cb7d30d556aad681c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4c8bee829de8a2cb7d30d556aad681c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>LOG_PIPE_COMMANDS_NAME</b>&#160;&#160;&#160;&quot;LOG_CMD&quot;</td></tr>
<tr class="separator:ab4c8bee829de8a2cb7d30d556aad681c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a704eeed5456d2a67f96718547cc2dc5c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a704eeed5456d2a67f96718547cc2dc5c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>LOG_PIPE_DEPTH</b>&#160;&#160;&#160;256</td></tr>
<tr class="separator:a704eeed5456d2a67f96718547cc2dc5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae3602903f9a24cb5876b1c71a718675"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae3602903f9a24cb5876b1c71a718675"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>LOGGER_STARTUP_INF_EID</b>&#160;&#160;&#160;0</td></tr>
<tr class="separator:aae3602903f9a24cb5876b1c71a718675"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae59102b020a6e28995b18c42ad1ea1a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae59102b020a6e28995b18c42ad1ea1a5"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>LOGGER_COMMAND_ERR_EID</b>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ae59102b020a6e28995b18c42ad1ea1a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae35cbb2e421a54668a717a9a3dd6c01a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#ae35cbb2e421a54668a717a9a3dd6c01a">LOGGER_AppMain</a> (void)</td></tr>
<tr class="separator:ae35cbb2e421a54668a717a9a3dd6c01a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0d3d4e8e36eab25bb17e3f2a6459d11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#af0d3d4e8e36eab25bb17e3f2a6459d11">LOGGER_AppInit</a> (void)</td></tr>
<tr class="separator:af0d3d4e8e36eab25bb17e3f2a6459d11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff1a269f19e93eb1ce18515c7486d267"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#aff1a269f19e93eb1ce18515c7486d267">LOGGER_AppCleanUp</a> (void)</td></tr>
<tr class="separator:aff1a269f19e93eb1ce18515c7486d267"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09f3a6ab8a28ef35f68d86144f2d0d25"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a09f3a6ab8a28ef35f68d86144f2d0d25">LOGGER_ProcessPacket</a> (CFE_SB_Msg_t *msg)</td></tr>
<tr class="separator:a09f3a6ab8a28ef35f68d86144f2d0d25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a481d6bfcb53b9e2a6c74fd20e9e6658c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a481d6bfcb53b9e2a6c74fd20e9e6658c">PrepareLogFiles</a> ()</td></tr>
<tr class="separator:a481d6bfcb53b9e2a6c74fd20e9e6658c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dcceceb516449ebc91388cf68ed802b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a9dcceceb516449ebc91388cf68ed802b">RecordPackets</a> ()</td></tr>
<tr class="separator:a9dcceceb516449ebc91388cf68ed802b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abffc386b87409ab3508148be10fcf82d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#abffc386b87409ab3508148be10fcf82d">OpenLogFiles</a> ()</td></tr>
<tr class="separator:abffc386b87409ab3508148be10fcf82d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cb9880127780ef1cdee7a48d564d292"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a8cb9880127780ef1cdee7a48d564d292">PlaybackPackets</a> ()</td></tr>
<tr class="separator:a8cb9880127780ef1cdee7a48d564d292"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ae12d2d11111cfa310a985679c3eb52"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a8ae12d2d11111cfa310a985679c3eb52">PublishSBMessage</a> (CFE_TIME_SysTime_t delLocal, CFE_SB_Msg_t *msg)</td></tr>
<tr class="separator:a8ae12d2d11111cfa310a985679c3eb52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc7885d70472b4741c13b8eb5ac17270"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#adc7885d70472b4741c13b8eb5ac17270">SubscribeInputs</a> ()</td></tr>
<tr class="separator:adc7885d70472b4741c13b8eb5ac17270"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d48057cc6ccba30feacf642f0c2fd17"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a2d48057cc6ccba30feacf642f0c2fd17">LoggerTableValidationFunc</a> (void *)</td></tr>
<tr class="separator:a2d48057cc6ccba30feacf642f0c2fd17"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a989c6f055028ab9db63cc77a78382f0a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a989c6f055028ab9db63cc77a78382f0a"></a>
<a class="el" href="structappdataLog__t.html">appdataLog_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a989c6f055028ab9db63cc77a78382f0a">appdataLog</a></td></tr>
<tr class="memdesc:a989c6f055028ab9db63cc77a78382f0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">app data <br /></td></tr>
<tr class="separator:a989c6f055028ab9db63cc77a78382f0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30b7fc2f9ddd505adece0109d02b5d25"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a30b7fc2f9ddd505adece0109d02b5d25">sentPos</a></td></tr>
<tr class="separator:a30b7fc2f9ddd505adece0109d02b5d25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eadc6405f09b0c59a03ee94644b0e98"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8eadc6405f09b0c59a03ee94644b0e98"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>havePos</b></td></tr>
<tr class="separator:a8eadc6405f09b0c59a03ee94644b0e98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef64f8e61b807dcc618ae7f5d421a766"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef64f8e61b807dcc618ae7f5d421a766"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>sentCommand</b></td></tr>
<tr class="separator:aef64f8e61b807dcc618ae7f5d421a766"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a720396d435464b7c4885cb11b9396032"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a720396d435464b7c4885cb11b9396032"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>haveCommand</b></td></tr>
<tr class="separator:a720396d435464b7c4885cb11b9396032"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af865d3352f447c556f03f2a9e1d915e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af865d3352f447c556f03f2a9e1d915e1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>sentFlightPlan</b></td></tr>
<tr class="separator:af865d3352f447c556f03f2a9e1d915e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbba3fdd594e9bf313d59636f2907042"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adbba3fdd594e9bf313d59636f2907042"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>haveFlightPlan</b></td></tr>
<tr class="separator:adbba3fdd594e9bf313d59636f2907042"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a809bcd4010f44b18b1501b763ce9db60"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a809bcd4010f44b18b1501b763ce9db60"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>sentGeofence</b></td></tr>
<tr class="separator:a809bcd4010f44b18b1501b763ce9db60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76f42a8ffff6e99c9de3de4db825e385"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76f42a8ffff6e99c9de3de4db825e385"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>haveGeofence</b></td></tr>
<tr class="separator:a76f42a8ffff6e99c9de3de4db825e385"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33b35d7c792b7923d423a6530fc60cc9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33b35d7c792b7923d423a6530fc60cc9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>sentTraffic</b></td></tr>
<tr class="separator:a33b35d7c792b7923d423a6530fc60cc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1c26ba3ac7b1c98b5564a7943079a7e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae1c26ba3ac7b1c98b5564a7943079a7e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>haveTraffic</b></td></tr>
<tr class="separator:ae1c26ba3ac7b1c98b5564a7943079a7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1dbfa81dc4b78dc864f511ee4a4329b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1dbfa81dc4b78dc864f511ee4a4329b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>sentStartMission</b></td></tr>
<tr class="separator:af1dbfa81dc4b78dc864f511ee4a4329b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c40fc640a46b36bfa15655afc840c6a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5c40fc640a46b36bfa15655afc840c6a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>haveStartMission</b></td></tr>
<tr class="separator:a5c40fc640a46b36bfa15655afc840c6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a045fcd7dde79c9cccabe32c9dd4e948a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a045fcd7dde79c9cccabe32c9dd4e948a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>sentCmdAck</b></td></tr>
<tr class="separator:a045fcd7dde79c9cccabe32c9dd4e948a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92cc2f4563a35ec950fa9ad58eccf9c8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a92cc2f4563a35ec950fa9ad58eccf9c8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>haveCmdAck</b></td></tr>
<tr class="separator:a92cc2f4563a35ec950fa9ad58eccf9c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a32a6bc552bac6c020a91f169d66bf4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a32a6bc552bac6c020a91f169d66bf4"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>sentWPReached</b></td></tr>
<tr class="separator:a4a32a6bc552bac6c020a91f169d66bf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1512eed89d6e4150af6f069f26dca0e8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1512eed89d6e4150af6f069f26dca0e8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>haveWPReached</b></td></tr>
<tr class="separator:a1512eed89d6e4150af6f069f26dca0e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a972593fb0e4bf497fbb849bb0ed41682"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a972593fb0e4bf497fbb849bb0ed41682"></a>
<a class="el" href="structposition__t.html">position_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>logPos</b></td></tr>
<tr class="separator:a972593fb0e4bf497fbb849bb0ed41682"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81b2b887496925c66dc39885e98213b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81b2b887496925c66dc39885e98213b8"></a>
<a class="el" href="structgeofence__t.html">geofence_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>logGf</b></td></tr>
<tr class="separator:a81b2b887496925c66dc39885e98213b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a867856d7675e910d33bd9eac398a9042"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a867856d7675e910d33bd9eac398a9042"></a>
<a class="el" href="structargsCmd__t.html">argsCmd_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>logCmd</b></td></tr>
<tr class="separator:a867856d7675e910d33bd9eac398a9042"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb4a860944c5e408270c2a1d330f0dcf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb4a860944c5e408270c2a1d330f0dcf"></a>
<a class="el" href="structflightplan__t.html">flightplan_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>logFp</b></td></tr>
<tr class="separator:afb4a860944c5e408270c2a1d330f0dcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee42210368b5ee25a0299ca731dcbfb3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aee42210368b5ee25a0299ca731dcbfb3"></a>
<a class="el" href="structobject__t.html">object_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>logTraffic</b></td></tr>
<tr class="separator:aee42210368b5ee25a0299ca731dcbfb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a258fab03e631c742a13ee3cffe8c8535"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a258fab03e631c742a13ee3cffe8c8535"></a>
<a class="el" href="structargsCmd__t.html">argsCmd_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>logStartMission</b></td></tr>
<tr class="separator:a258fab03e631c742a13ee3cffe8c8535"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fbb9550086cc4af4487c5b74af54c48"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3fbb9550086cc4af4487c5b74af54c48"></a>
<a class="el" href="structcmdAck__t.html">cmdAck_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>logCmdAck</b></td></tr>
<tr class="separator:a3fbb9550086cc4af4487c5b74af54c48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff29ae371075de72190fc07441980afd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff29ae371075de72190fc07441980afd"></a>
<a class="el" href="structmissionItemReached__t.html">missionItemReached_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>logWPReached</b></td></tr>
<tr class="separator:aff29ae371075de72190fc07441980afd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>function declarations, definitions of macros, datastructures and global variables for the logging application </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="aff1a269f19e93eb1ce18515c7486d267"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LOGGER_AppCleanUp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Clean up variables </p>

</div>
</div>
<a class="anchor" id="af0d3d4e8e36eab25bb17e3f2a6459d11"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LOGGER_AppInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialize app properties </p>

</div>
</div>
<a class="anchor" id="ae35cbb2e421a54668a717a9a3dd6c01a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LOGGER_AppMain </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Entry point for app </p>

</div>
</div>
<a class="anchor" id="a09f3a6ab8a28ef35f68d86144f2d0d25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LOGGER_ProcessPacket </td>
          <td>(</td>
          <td class="paramtype">CFE_SB_Msg_t *&#160;</td>
          <td class="paramname"><em>msg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Process incoming packets </p>

</div>
</div>
<a class="anchor" id="a2d48057cc6ccba30feacf642f0c2fd17"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t LoggerTableValidationFunc </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Validate table inputs </p>

</div>
</div>
<a class="anchor" id="abffc386b87409ab3508148be10fcf82d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpenLogFiles </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Open log files for reading </p>

</div>
</div>
<a class="anchor" id="a8cb9880127780ef1cdee7a48d564d292"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PlaybackPackets </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Play back logged SB messages </p>

</div>
</div>
<a class="anchor" id="a481d6bfcb53b9e2a6c74fd20e9e6658c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PrepareLogFiles </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Open log files for writing SB Messages </p>

</div>
</div>
<a class="anchor" id="a8ae12d2d11111cfa310a985679c3eb52"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool PublishSBMessage </td>
          <td>(</td>
          <td class="paramtype">CFE_TIME_SysTime_t&#160;</td>
          <td class="paramname"><em>delLocal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CFE_SB_Msg_t *&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Drop the given SB message when the delLocal is greater than delMessage </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">delLocal</td><td>time elapsed </td></tr>
    <tr><td class="paramname">msg</td><td>logged SB message to publish </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ture if sent/ false if not sent because of time constraint. </dd></dl>

</div>
</div>
<a class="anchor" id="a9dcceceb516449ebc91388cf68ed802b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RecordPackets </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Record received SB messages to corresponding log files </p>

</div>
</div>
<a class="anchor" id="adc7885d70472b4741c13b8eb5ac17270"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SubscribeInputs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Subscribe to all plexil inputs </p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a30b7fc2f9ddd505adece0109d02b5d25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool sentPos</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>global variables to store and send logged messages </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
